package org.dxy.middleware.dynamic.thread.pool.domain.port;

import org.dxy.middleware.dynamic.thread.pool.domain.model.ThreadPoolAggregate;

/**
 * @ description:
 * @ author: dxy
 * @ createTime: 2025/10/1 15:12
 */
public interface IThreadPoolRepository {
    void save(ThreadPoolAggregate threadPoolAggregate);

    void refresh(ThreadPoolAggregate threadPoolAggregate);

    ThreadPoolAggregate findByAppNameAndThreadPoolName(String appName, String threadPoolName);
}
